package mapper;

import entity.Users;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * @BelongsProject: lagou-dubbo
 * @Author: GuoAn.Sun
 * @CreateTime: 2020-07-27 17:37
 * @Description: 用户操作mapper
 */
@Service
public interface UserMapper {
    int register( Users users );
    List<Users> selectAll();
    int update(Users users);
    public void delete(int uid);
    Users selectById(int uid);
    public void deleteBatch(Integer[] ids);
    List<Users> selectByLike(@Param("username") String username,@Param("phone") String phone);

}
